Skip to content

docs(openspec): plan #3445 Derive stage golden set counts from fixtures - #4174

Merged
dan-petty merged 1 commit into
mainfrom
test/3445-derive-stage-golden-set-case-counts
Nov 8, 2026
Merged

dan-petty merged 1 commit into
mainfrom
test/3445-derive-stage-golden-set-case-counts

Conversation

@devops-cli-service

@devops-cli-service devops-cli-service Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Plans #3445

The stage golden set test in tests/roadmap/stage/test_roadmap_stage_eval_cases.py pins its size with the literals 54, 5 and 49, so a plan that adds a case must edit the set and the counts. No prompt or gate reminds the planner: the plan of #3436 for #3411 named one test file, and the review found the omission. The test now compares the reviewed pulls of the fixtures with EVALUATED_PULLS and computes the total as the size of that set plus the number of good cases, so no literal count remains. A module-level helper names the pull that the fixtures omit. A new test copies the cases to tmp_path, adds a reviewed case with a new pull, and asserts that the check accepts it. The change edits one test module and no product code.

Change: openspec/changes/3445-derive-stage-golden-set-case-counts/

@devops-cli-service devops-cli-service Bot added type/docs Type docs: a change to the documents scope/openspec OpenSpec changes, specs and their checks labels Nov 8, 2026
@devops-cli-service
devops-cli-service Bot force-pushed the test/3445-derive-stage-golden-set-case-counts branch from b52830d to 62b6564 Compare November 8, 2026 18:28
Plans #3445.

The stage golden set test in tests/roadmap/stage/test_roadmap_stage_eval_cases.py pins its size with the literals 54, 5 and 49, so a plan that adds a case must edit the set and the counts. No prompt or gate reminds the planner: the plan of #3436 for #3411 named one test file, and the review found the omission. The test now compares the reviewed pulls of the fixtures with EVALUATED_PULLS and computes the total as the size of that set plus the number of good cases, so no literal count remains. A module-level helper names the pull that the fixtures omit. A new test copies the cases to tmp_path, adds a reviewed case with a new pull, and asserts that the check accepts it. The change edits one test module and no product code.

Change: `openspec/changes/3445-derive-stage-golden-set-case-counts/`
@dan-petty
dan-petty force-pushed the test/3445-derive-stage-golden-set-case-counts branch from 62b6564 to d19bba1 Compare November 8, 2026 19:36
@dan-petty
dan-petty marked this pull request as ready for review November 8, 2026 19:40
@dan-petty
dan-petty self-requested a review as a code owner November 8, 2026 19:40
@dan-petty

Copy link
Copy Markdown
Owner

Check results

Head commit: d19bba13550078867a568da84bb01415b3cf0b8b

Check Conclusion Link
devops-cli success run
zizmor success run
trivy-config success run
Tests & Coverage success run
CodeQL success run
Plan Check success run
Semantic PR title success run
Plan Check success run
Test Job Duration skipped run
Dependency Freshness skipped run
Third-Party Image Scan success run
Tests & Coverage (shard 2 of 4) success run
Tests & Coverage (shard 3 of 4) success run
Static Analysis success run
Rule Pack Tests success run
Tests & Coverage (shard 1 of 4) success run
Docs Site Build success run
Image Pins success run
DevContainer Image success run
Runner Image success run
Changed-Test Independence success run
Tests & Coverage (shard 4 of 4) success run
Service Image success run
Analyze (python) success run
Semantic PR title success run
Analyze (actions) success run

Skipped check: Test Job Duration
Skipped check: Dependency Freshness

@dan-petty
dan-petty merged commit e65dc74 into main Nov 8, 2026
26 checks passed
@dan-petty
dan-petty deleted the test/3445-derive-stage-golden-set-case-counts branch November 8, 2026 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/openspec OpenSpec changes, specs and their checks type/docs Type docs: a change to the documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant